home *** CD-ROM | disk | FTP | other *** search
- on(press){
- tellTarget("../shotsound")
- {
- gotoAndStop(2);
- }
- tellTarget("..")
- {
- n += "1";
- shotnum = "shot" add n;
- duplicateMovieClip("/shot",shotnum,"16384" + (n + "100"));
- setProperty(shotnum, _X, getProperty("/schiff", _X));
- setProperty(shotnum, _Y, getProperty("/schiff", _Y) - "20");
- }
- tellTarget("../amount")
- {
- n += "1";
- }
- play();
- }
-